package com.yfp.client.util;

public enum ResponseEnum {
    OPERATOR_SUCCESS(200, "操作成功"),
    OPERATOR_FAILUER(201, "操作失败"),
    OPERATOR_NOT_AUTH(202, "无权操作"),
    NOT_USER(203, "无该用户"),
    INVALID_TOKEN(204, "token无效"),
    NOT_BIND(205, "未绑定"),
    ANEW_CODE(206, "重新获取验证码"),
    CODE_ERROR(207, "验证码错误"),
    SMS_OFTEN(208, "获取验证码过于频繁"),
    CLOCK_USER(209, "该用户已被锁定"),
    PARAM_NULL(210, "必要参数为空"),
    DISABLED(211, "账号已被禁用，请联系客服"),
    COUPON_NOT_EXIST(212, "优惠券不存在"),
    COUPON_OVERDUE(213, "优惠券已过期"),
    COUPON_NOT_COUNT(214, "该优惠券码已被核销"),
    COUPON_EXCEED(215, "优惠券卡包已满"),
    COUPON_RECEIVED_ALREADY(216, "优惠券已领取"),
    COUPON_COUNT_EXCEED(217, "超过优惠券领取次数"),
    NOT_INVITATION(218, "没有邀请用户ID"),
    COUPON_NEW_CLIENT(219, "限新用户参与"),
    COUPON_LOSE_EFFICACY(220, "该优惠券已失效"),
    COUPON_NOT_CITY(221, "优惠券运营城市限制"),
    COUPON_NOT_SURPLUS_COUNT(214, "该优惠券已被领取完"),
    NOT_PARTICIPATE_IN_ACTIVITY(215, "不能参加此活动"),
    NOT_COUPON_PACK(216, "领取礼包失败"),
    SHIXIAO_COUPON_PACK(217, "该礼包已失效"),
    SHIXIAO_ACTIVITY(222, "邀请有礼失效"),
    NOT_STARTED_ACTIVITY(223, "邀请有礼未开始"),
    NOT_ACTIVITY(224, "无邀请有礼"),
    ENTERPRISEORDER_COMBO_DEFICIENCY(230, "套餐剩余不足"),
    ENTERPRISEORDER_OUT_TIME(231, "订单超时不可用"),
    STORED_ACTIVITY_INVALID(232, "当前储值活动已失效");

    private Integer code;
    private String msg;

    ResponseEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
